package com.jk.hly.mapper;

import com.jk.hly.bean.HlyUser;
import com.jk.hly.bean.Tree;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HlyTreeMapper {
    List<Tree> queryTree(int pid);

    List<HlyUser> queryUserPhone();

    void deleteUserPhone(@Param("ids") String ids);

    HlyUser queryById(String id);

    void updateUserInfo(HlyUser user);

    void addUserPhone(HlyUser user);

    List<HlyUser> queryAllUser(@Param("ids") String ids);

    HlyUser queryPhone(String phone);

    void addUser(HlyUser user);
}
